package com.yl.applicationsecurity.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.yl.applicationsecurity.pojo.ApplicationCoverage;
import com.yl.applicationsecurity.pojo.ComponentUnauthorized;
import org.springframework.core.io.ByteArrayResource;
import org.springframework.http.ResponseEntity;

import java.io.IOException;
import java.util.Map;

public interface ApplicationCoverageService  extends IService<ApplicationCoverage> {
    PageInfo<ApplicationCoverage> findListByApplicationCoverage(ApplicationCoverage applicationCoverage, Integer pageNum, Integer pageSize);

    Integer findApplicationCoverageCount(String type);

    boolean getData() throws Exception;


    Map<String,Integer> getStatisticalDdata();



    ResponseEntity<ByteArrayResource> generateExcel() throws IOException;
}
